package com.leedsoft.mapper;

import com.leedsoft.domain.AidOrg;
import com.leedsoft.domain.AidOrgExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AidOrgMapper {
    long countByExample(AidOrgExample example);

    int deleteByExample(AidOrgExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AidOrg record);

    int insertSelective(AidOrg record);

    List<AidOrg> selectByExample(AidOrgExample example);

    AidOrg selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AidOrg record, @Param("example") AidOrgExample example);

    int updateByExample(@Param("record") AidOrg record, @Param("example") AidOrgExample example);

    int updateByPrimaryKeySelective(AidOrg record);

    int updateByPrimaryKey(AidOrg record);
}